package entry;

public class WorkOrder {
    private int ID;
    private int PID;
    private String EXECUTOR;
    private String DESCRIPTION;
    private String ORDERLEVEL;
    private String CREATEDATE;

    public WorkOrder() {
    }

    public WorkOrder(int ID, int PID, String EXECUTOR, String DESCRIPTION, String ORDERLEVEL, String CREATEDATE) {
        this.ID = ID;
        this.PID = PID;
        this.EXECUTOR = EXECUTOR;
        this.DESCRIPTION = DESCRIPTION;
        this.ORDERLEVEL = ORDERLEVEL;
        this.CREATEDATE = CREATEDATE;
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public int getPID() {
        return PID;
    }

    public void setPID(int PID) {
        this.PID = PID;
    }

    public String getEXECUTOR() {
        return EXECUTOR;
    }

    public void setEXECUTOR(String EXECUTOR) {
        this.EXECUTOR = EXECUTOR;
    }

    public String getDESCRIPTION() {
        return DESCRIPTION;
    }

    public void setDESCRIPTION(String DESCRIPTION) {
        this.DESCRIPTION = DESCRIPTION;
    }

    public String getORDERLEVEL() {
        return ORDERLEVEL;
    }

    public void setORDERLEVEL(String ORDERLEVEL) {
        this.ORDERLEVEL = ORDERLEVEL;
    }

    public String getCREATEDATE() {
        return CREATEDATE;
    }

    public void setCREATEDATE(String CREATEDATE) {
        this.CREATEDATE = CREATEDATE;
    }

    @Override
    public String toString() {
        return "WorkOrder{" +
                "ID=" + ID +
                ", PID=" + PID +
                ", EXECUTOR='" + EXECUTOR + '\'' +
                ", DESCRIPTION='" + DESCRIPTION + '\'' +
                ", ORDERLEVEL='" + ORDERLEVEL + '\'' +
                ", CREATEDATE='" + CREATEDATE + '\'' +
                '}';
    }
}
